<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>th:selected="${goods.catId eq c.id}" th:each="c:${categoryList}"  th:value="${c.id}" th:text="${c.name}"
    <h1>添加员工</h1>
    <form action="do_add_employee" method="post">
        <ul>
            <li><input type="text" name="employeeName" placeholder="员工姓名"></li>
            <li><input type="text" name="employeeNo" 员工编号></li>
            <li>
                <select name="departId">
                    <option value="">========请选择员工部门=========</option>
                    <option th:each="d:${departs}" th:value="${d.id}" th:text="${d.departName}">></span></option>
                </select>
            </li>
            <li></li>
            <li><input type="submit" value="提交"></li>
        </ul>
    </form>
</body>
</html>